<div class="row">
<div class="row">
<div class="button-container mb10">
	<?php echo CHtml::link('评论列表',$this->createUrl('comment/index'),array('class'=>'button'));?>
    <?php echo CHtml::link('设置',$this->createUrl('comment/setting'),array('class'=>'button button-success'));?>
</div>
<?php $form=$this->beginWidget('CActiveForm', array(
    'id'=>'comment-_form-form',
    'enableAjaxValidation'=>true,
    'enableClientValidation'=>true,
    'clientOptions'=>array(  
        'validateOnSubmit'=>true,  
     ),
)); ?>

<table class="table table-bordered table-hover">
    <tbody>
    	<tr>
            <td width="10%" class="tableleft">
                <?php echo $form->labelEx($model,'isguest'); ?>
            </td>
            <td>
                <input type="checkbox" value="1" name="setting[isguest]" <?php echo $setting['isguest']==1 ? "checked='true'" : "" ?> />
            </td>            
	    </tr>
        <tr>
            <td width="10%" class="tableleft">
                <?php echo $form->labelEx($model,'ischeck'); ?>
            </td>
            <td>
                <input type="checkbox" value="1" name="setting[ischeck]" <?php echo $setting['ischeck']==1 ? "checked='true'" : "" ?>  />
            </td>            
	    </tr>
        <tr>
            <td width="10%" class="tableleft">
                <?php echo $form->labelEx($model,'iscode'); ?>
            </td>
            <td>
                <input type="checkbox" value="1" name="setting[iscode]" <?php echo $setting['iscode']==1 ? "checked='true'" : "" ?>  />
            </td>            
	    </tr>
        <tr>
            <td width="10%" class="tableleft"></td>
            <td>
                <?php echo CHtml::submitButton('保存',array('class'=>'button button-primary'));?>
            </td>            
        </tr>
   <tbody>
</table>
<?php $this->endWidget(); ?>
</div>
